package top.lixunda.books3.model;

import java.util.List;

/**
 * 一个用户在Service层和Controller层之间传输数据的类
 */
public class DataAndTotal<T> {

    private List<T> list;

    private long total;

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }
}
